<?php 
date_default_timezone_set('Asia/Manila');
#call all includes below
require_once('cls_config.php');  //data base connections and sessions are stored also
include_once 'miscellaneous.php';
connection::start_session();
include_once 'cls_forms.php';
include_once 'cls_admin.php';

ob_start();  //main function is for excel download

?>  

<!--header starts!-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
	<!--
	Created by Artisteer v3.0.0.45570
	Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
	-->
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
	<title>Sorsogon State College Official Page</title>
	<meta name="description" content="Description" />
	<meta name="keywords" content="Keywords" />


	<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="ssc_sis.css" type="text/css" media="screen"/>
	<!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
	<!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->

	<script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="prototype.js"></script>
	<script type="text/javascript" src="script.js"></script>
     <script type="text/javascript" src="ssc_reg_sis.js"></script>
   
    <!-- 
    ######################################################
    -->
     <script type=text/javascript>
              function verify_password(){ //checks the passwords if match
                var password= $('password').getValue();
                var password2=$('password2').getValue();
                if(password!=password2){
                    alert("marali password mo");
                    return false;
                }else{
                    return true;
                }
              }   
              function respondToClick(){//shows or hides options for the users tasks
               var actionko = event.element().identify();
                   if(actionko=="view"){                                       //student view  for getting grades
                       $('view_container').setStyle("visibility:visible;");
                        $('record_container').hide();                                                
                         $('view_container').show();                                             
                   }else if(actionko=="admin_view"){                            //admin view for getting grades
                        $('filter').setStyle("visibility:visible;");
                        $('filter').show();
                         $('filter_pass_failed').hide(); 
                   }else if(actionko=="record"){                                 //student view for making a new record
                         $('record_container').setStyle("visibility:visible;");
                         $('view_container').hide();                                                
                         $('record_container').show();
                   }else if(actionko=="pass_fail"){
                           $('filter').hide();     
                          $('filter_pass_failed').setStyle("visibility:visible;"); 
                            $('filter_pass_failed').show()
                   }
                   else{
                       
                   }
              }
     </script>
    <!-- 
    ######################################################
    -->
</head>
<body>
<div id="sscpage-background-glare">
	<div id="sscpage-background-glare-image"> </div>
</div>
<div id="sscmain">
	<div class="cleared reset-box"></div>
	<div class="sscsheet">
		<div class="sscsheet-tl"></div>
		<div class="sscsheet-tr"></div>
		<div class="sscsheet-bl"></div>
		<div class="sscsheet-br"></div>
		<div class="sscsheet-tc"></div>
		<div class="sscsheet-bc"></div>
		<div class="sscsheet-cl"></div>
		<div class="sscsheet-cr"></div>
		<div class="sscsheet-cc"></div>
		<div class="sscsheet-body">
			<div class="sscheader">
				<div class="sscheader-clip">
				<div class="sscheader-center">
					<div class="sscheader-png"></div>
					<div class="sscheader-jpeg"></div>
				</div>
				</div>
				<div class="ssclogo">
								 <h1 class="ssclogo-name"><a href="main.php"><!--Sorsogon State College--></a></h1>
												 <h2 class="ssclogo-text"><!--Enter Site Slogan!--></h2>
								</div>
			</div>
			<div class="cleared reset-box"></div>
<!--header ends!-->